<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{% block title %} 这里现在是base模板的标题 {% endblock %}</title>

    {% load static %}
    <link rel="stylesheet" type="text/css" href="{% static 'polls/style.css' %}" />
    {% block css %}
    {% endblock %}
</head>
<body>
    <div id="sidebar">
        {% block sidebar %}
        <ul>
            <li><a href="/">主页</a> </li>
            <li><a href="/polls/">投票</a> </li>
        </ul>
        {% endblock %}
    </div>
    <div id="content">
        {% block content %}
        {% endblock %}
    </div>


</body>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
{% block js %}
{% endblock %}
</html>
